<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="__VIEW__/css/style1.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__VIEW__/js/jquery.js"></script>
<script type="text/javascript" src="__VIEW__/js/jsapi.js"></script>
<script type="text/javascript" src="__VIEW__/js/format+zh_CN,default,corechart.I.js"></script>		
<script type="text/javascript" src="__VIEW__/js/jquery.gvChart-1.0.1.min.js"></script>
<script type="text/javascript" src="__VIEW__/js/jquery.ba-resize.min.js"></script>

<script type="text/javascript">
		gvChartInit();
		jQuery(document).ready(function(){

		jQuery('#myTable5').gvChart({
				chartType: 'PieChart',
				gvSettings: {
					vAxis: {title: 'No of players'},
					hAxis: {title: 'Month'},
					width: 650,
					height: 250
					}
			});
		});
		
		</script>
</head>


<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">工作台</a></li>
    </ul>
    </div>
    
    
    <div class="mainbox">
    
    <div class="mainleft">
    
    
    <div class="leftinfo">
    <div class="listtitle">销售分布图</div>
        
    <div class="maintj">  
    <table id='myTable5'>
				<caption>本商城销售分布图</caption>
				<thead>
					<tr>
						<th></th>
						<th>Jan</th>
						<th>Feb</th>
						<th>Mar</th>
						<th>Apr</th>
						<th>May</th>
						<th>Jun</th>
						<th>Jul</th>
						<th>Aug</th>
						<th>Sep</th>
						<th>Oct</th>
						<th>Nov</th>
						<th>Dec</th>
					</tr>
				</thead>
					<tbody>
					<tr>
						<th>2010</th>
						<td>125</td>
						<td>185</td>
						<td>327</td>
						<td>359</td>
						<td>376</td>
						<td>398</td>
						<td>0</td>
						<td>0</td>
						<td>0</td>
						<td>0</td>
						<td>0</td>
						<td>0</td>
					</tr>
				</tbody>
			</table>  
			 
    </div>
    
    </div>
    <!--leftinfo end-->
    
    
    <div class="leftinfos">
    
   
    <div class="infoleft">
    
    <div class="listtitle">运行环境</div>    
    <ul class="newlist">
    <li>运行环境: <?php echo $_SERVER['SERVER_SOFTWARE'] ?></li>
    <li>数据库版本:<?php echo 'mysql-'.M()->getVersion() ?></li>
    <li>服务器地址:<?php echo $_SERVER['SERVER_NAME'] ?></li>
    <li>服务端口:<?php echo $_SERVER['SERVER_PORT'] ?></li>
    </ul>   
    
    </div>
    
    
    <div class="inforight">
    <div class="listtitle">常用工具</div>
    
    <ul class="tooli">
    	
    	
    <li><span><img src="__VIEW__/images/d06.png" /></span><p><a href="{|U:'OrderList/index'}">订单列表</a></p></li>
    <li><span><img src="__VIEW__/images/d07.png" /></span><p><a href="{|U:'User/index'}">会员信息</a></p></li> 
    <li><span><img src="__VIEW__/images/d01.png" /></span><p><a href="{|U:'Category/index'}">分类管理</a></p></li>
    <li><span><img src="__VIEW__/images/d02.png" /></span><p><a href="{|U:'Goods/addGoods'}">添加商品</a></p></li>
    <li><span><img src="__VIEW__/images/d03.png" /></span><p><a href="{|U:'Type/index'}">类型管理</a></p></li>
    <li><span><img src="__VIEW__/images/d04.png" /></span><p><a href="{|U:'Admin/index'}">管理员列表</a></p></li>
    <li><span><img src="__VIEW__/images/d05.png" /></span><p><a href="{|U:'Goods/index'}">商品列表</a></p></li>   
    </ul>
    
    </div>
    
    
    </div>
    
    
    </div>
    <!--mainleft end-->
    
    
    <div class="mainright">
    
    
    <div class="dflist">
    <div class="listtitle"><a href="{|U:'OrderList/index'}" class="more1">更多</a>最新订单</div>    
    <ul class="newlist">
    <foreach from="$newOrder" key="$nk" value="$ny">
    	<li><a href="{|U:'OrderList/details',array('oid'=>$ny['oid'])}">订单号:{$ny.order_sn} 状态:{$ny.order_status}</a></li>
    </foreach>
    </ul>        
    </div>
    
    
    <div class="dflist1">
    <div class="listtitle">信息统计</div>    
    <ul class="newlist">
    <li><i>会员数：</a></i>{$memberNum}</li>
    <li><i>商品数：</a></i>{$goodsNum}</li>
    <li><i>总库存数：</a></i>{$goodsAllCount.count}</li>
    <li><i>订单数：</a></i>{$allOrder}</li>  
    <li><i>总提问数：</a></i>{$questcount}</li>
    </ul>        
    </div>
    
    

    
    
    </div>
    <!--mainright end-->
    
    
    </div>



</body>
<script type="text/javascript">
	setWidth();
	$(window).resize(function(){
		setWidth();	
	});
	function setWidth(){
		var width = ($('.leftinfos').width()-12)/2;
		$('.infoleft,.inforight').width(width);
	}
</script>
</html>
